package cn.service.impl;

import cn.beans.User;
import cn.dao.UserDao;
import cn.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao;
    @Override
    public void adduser(User user) {
      userDao.zhangyining(user);
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
}
